Part Number Hot Search : 
A8565BS MBR20 00266 KTC200 PD064VT2 2SD20 CXA15 MH103A
Product Description
Full Text Search
 

To Download DV007003 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? 2001 microchip technology inc. ds30082j pro mate ? ii user ? s guide m
ds30082j - page ii ? 2001 microchip technology inc. information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. it is your responsibility to ensure that your application meets with your specifications. no representation or warranty is given and no liability is assumed by microchip technology incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. use of microchip?s products as critical com- ponents in life support systems is not authorized except with express written approval by microchip. no licenses are con- veyed, implicitly or otherwise, under any intellectual property rights. trademarks the microchip name and logo, the microchip logo, pic, picmicro, picmaster, picstart, pro mate, k ee l oq , seeval, mplab and the embedded control solutions company are reg- istered trademarks of microchip technology incorporated in the u.s.a. and other countries. total endurance, icsp, in-circuit serial programming, filter- lab, mxdev, microid, flex rom, fuzzy lab, mpasm, mplink, mplib, picc, picdem, picdem.net, icepic, migratable memory, fansense, economonitor, select mode and microport are trademarks of microchip technology incorporated in the u.s.a. serialized quick term programming (sqtp) is a service mark of microchip technology incorporated in the u.s.a. all other trademarks mentioned herein are property of their respective companies. ? 2001, microchip technology incorporated, printed in the u.s.a., all rights reserved. printed on recycled paper. microchip received qs-9000 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in chandler and tempe, arizona in july 1999. the company?s quality system processes and procedures are qs-9000 compliant for its picmicro ? 8-bit mcus, k ee l oq ? code hopping devices, serial eeproms and microperipheral products. in addition, microchip ? s quality system for the design and manufacture of development systems is iso 9001 certified. note the following details of the code protection feature on picmicro ? mcus.  the picmicro family meets the specifications contained in the microchip data sheet.  microchip believes that its family of picmicro microcontrollers is one of the most secure products of its kind on the market to day, when used in the intended manner and under normal conditions.  there are dishonest and possibly illegal methods used to breach the code protection feature. all of these methods, to our knowl - edge, require using the picmicro microcontroller in a manner outside the operating specifications contained in the data sheet. the person doing so may be engaged in theft of intellectual property.  microchip is willing to work with the customer who is concerned about the integrity of their code.  neither microchip nor any other semiconductor manufacturer can guarantee the security of their code. code protection does not mean that we are guaranteeing the product as ? unbreakable ? .  code protection is constantly evolving. we at microchip are committed to continuously improving the code protection features of our product. if you have any further questions about this matter, please contact the local sales office nearest to you.
12 pro mate ii user ? s guide table of contents ? 2000 microchip technology inc. ds30082j-page iii quick start introduction ................................................................................................ 1 highlights ................................................................................................... 1 installing pro mate ii ............................................................................. 2 connecting pro mate ii to your pc ....................................................... 3 using pro mate ii with mplab .............................................................. 4 using pro mate ii with procmd .......................................................... 6 using pro mate ii in stand-alone mode ................................................ 7 general information introduction ................................................................................................ 9 highlights ................................................................................................... 9 about this guide ....................................................................................... 9 warranty registration .............................................................................. 11 recommended reading .......................................................................... 12 troubleshooting ....................................................................................... 12 the microchip internet web site ............................................................. 13 development systems customer notification service ............................ 14 customer support ................................................................................... 16 chapter 1. pro mate ii preview 1.1 introduction ................................................................................... 17 1.2 highlights ...................................................................................... 17 1.3 what pro mate ii is ................................................................... 17 1.4 what pro mate ii does ............................................................. 18 1.5 components of the pro mate ii system .................................... 18 1.6 pro mate ii ce compliance ...................................................... 19 1.7 pro mate ii and pro mate ..................................................... 19 1.8 how pro mate ii helps you ...................................................... 20 1.9 pro mate ii operating with a pc ............................................... 20
pro mate ii user ? s guide ds30082j-page iv ? 2000 microchip technology inc. 1.10 pro mate ii operating without a pc (stand-alone) ...................20 1.11 mplab integrated development environment .............................20 1.12 mplab development tools ..........................................................21 chapter 2. installing and setting up pro mate ii 2.1 introduction ...................................................................................23 2.2 highlights ......................................................................................23 2.3 host computer system requirements ..........................................23 2.4 installing pro mate ii hardware .................................................24 2.5 installing mplab software ............................................................26 2.6 installing procmd software ........................................................27 2.7 powering up pro mate ii ...........................................................28 2.8 configuring the serial port for pro mate ii ................................28 2.9 selecting pro mate ii as the programmer .................................30 2.10 setting up the mplab development mode ..................................31 2.11 starting pro mate ii ...................................................................32 chapter 3. programming examples 3.1 introduction ...................................................................................35 3.2 example: programming a mid-range picmicro device 35 3.3 example: programming calibration devices .................................44 3.4 example: programming a memory device ....................................56 3.5 example: programming a smart serial ? memory device ...........64 chapter 4. using pro mate ii with the mplab ide 4.1 introduction ...................................................................................73 4.2 highlights ......................................................................................73 4.3 before you begin ..........................................................................73 4.4 pro mate ii dialogs ...................................................................73 4.5 setup for programming a device ..................................................74 4.6 programming a picmicro device ..................................................81 4.7 verifying the programming ............................................................82 4.8 reading a device ..........................................................................83
table of contents ? 2000 microchip technology inc. ds30082j-page v chapter 5. using pro mate ii with procmd 5.1 introduction ................................................................................... 85 5.2 highlights ...................................................................................... 85 5.3 getting started with procmd ..................................................... 85 5.4 examples of use ........................................................................... 87 5.5 demo programs ............................................................................ 89 5.6 usage details ............................................................................... 90 chapter 6. using pro mate ii in stand-alone mode 6.1 introduction ................................................................................... 91 6.2 highlights ...................................................................................... 91 6.3 getting started in stand-alone mode ........................................... 91 6.4 programming a device ................................................................. 92 6.5 operating in safe mode ................................................................ 94 chapter 7. pro mate ii ? mplab ide reference 7.1 introduction ................................................................................... 95 7.2 highlights ...................................................................................... 95 7.3 pro mate device programmer dialog ....................................... 95 7.4 configuration bits dialog .............................................................. 98 7.5 program memory window ............................................................ 98 7.6 program/verify dialog ................................................................... 99 7.7 read device dialog .................................................................... 101 7.8 pro mate ii menu items .......................................................... 102 7.9 files used by pro mate ii ....................................................... 103 7.10 saving and restoring calibration data ....................................... 104 7.11 using serial programming .......................................................... 108 7.12 upgrading the pro mate ii operating system ......................... 112 chapter 8. procmd reference 8.1 introduction ................................................................................. 115 8.2 highlights .................................................................................... 115 8.3 command line interface description ......................................... 115 8.4 error descriptions ....................................................................... 116
pro mate ii user ? s guide ds30082j-page vi ? 2000 microchip technology inc. chapter 9. pro mate ii stand-alone mode reference 9.1 introduction .................................................................................121 9.2 highlights ....................................................................................121 9.3 pro mate ii lcd and keys ......................................................121 9.4 operational overview ..................................................................122 9.5 start-up sequence and select menu ..........................................123 9.6 power-on with and pressed .....................................123 9.7 main menu ..................................................................................123 9.8 command menu ..........................................................................124 9.9 utilities menu ...............................................................................128 appendix a. hardware specifications a.1 introduction .................................................................................131 a.2 highlights ....................................................................................131 a.3 connecting to a pc via the serial port ........................................131 a.4 programmer specifications .........................................................132 a.5 socket module specifications .....................................................136 appendix b. troubleshooting b.1 introduction .................................................................................141 b.2 highlights ....................................................................................141 b.3 troubleshooting hardware ..........................................................141 b.4 troubleshooting operational problems .......................................142 b.5 troubleshooting software ...........................................................143 glossary introduction ............................................................................................147 highlights ...............................................................................................147 terms .....................................................................................................147 index .........................................................................................................................163 worldwide sales and service ...........................................................................170
? 2001 microchip technology inc. ds30082j-page 1 pro mate ii user ? s guide 12 quick start introduction this chapter provides the limited information that experienced users of pcs and embedded application development tools need in order to quickly start using pro mate ii. highlights topics covered in this chapter:  installing pro mate ii - installing mplab ? ide and pro mate ii - installing pro mate ii command line interface  connecting the pro mate ii to your pc  using pro mate ii with mplab ide - enabling (starting) pro mate ii - setting up the device programmer and configuration bits - programming, verifying, and reading a device  using procmd  using pro mate ii in stand-alone mode
pro mate ii user ? s guide ds30082j-page 2 ? 2001 microchip technology inc. installing pro mate ii installing mplab ? ide and pro mate ii 1. pro mate ii is a component of the mplab integrated development environment (ide). to install the mplab ide software, insert the mplab ide installation cd and run mpxxxx.exe , where xxxx repre- sents the version of the mplab ide software. this executable is in the root directory of the cd. 2. when the component selection window of the installation program appears, make sure pro mate ii is checkmarked in the list of compo- nents to install. as a minimum, install the mplab ide software and mpasm ? /mplink ? . you should also install the mplab-sim and help files. continue with the installation by following the instructions displayed by the installation program. under language components, select all. if you previously installed the mplab ide software but did not install pro mate ii, you must repeat the installation. you can clear all the checkmarks except pro mate ii. installing pro mate ii command line interface  if you have installed the mplab ide software, execute procmd.exe from dos or a windows dos shell. it is in the mplab directory.  if you have not installed the mplab ide software, you will need to get a copy of procmd and its associated files. you may obtain procmd from the mplab directory of the mplab ide installation cd-rom or from our internet web site at http://www.microchip.com. select devel- opment tools, pro mate ii, command line interface. note: the setup.cfg file is used in programming k ee l oq ? devices. it is created whenever you install the mplab ide software. if you have to reinstall the mplab ide software, create a backup of your setup.cfg file first in order to save your k ee l oq programming settings.
? 2001 microchip technology inc. ds30082j-page 3 quick start connecting pro mate ii to your pc follow these steps to connect the pro mate ii to your pc. 1. first, install a socket module on your pro mate ii. (for more informa- tion, see chapter 2 or appendix a.) align the tip of the arrow on the socket module with the tip of the arrow on the pro mate ii. tighten the two socket module thumbscrews evenly and, if possible, simultaneously. avoid over tightening them; they should be finger-tight only. 2. use the rs-232 communications cable to connect the pro mate ii to an available com port on your pc. 3. make sure that the power switch on the back of the unit is in the off position. install the power supply. 4. turn the power switch on the back of the pro mate ii to on. if the message ? socket not supported ? appears, ensure that the module is properly installed into the pro mate ii. you are now ready to start using pro mate ii with the mplab ide. note: always make sure that the device programmer is powered off before installing the socket module. note: socket modules do not come with the device programmer. you must order your socket module(s) separately. socket modules are available to accommodate each device package. the development system ordering guide (ds30177) describes the available socket modules.
pro mate ii user ? s guide ds30082j-page 4 ? 2001 microchip technology inc. using pro mate ii with mplab starting pro mate ii 1. start the mplab ide by double-clicking the mplab desktop icon or by selecting programs > microchip mplab > mplab from your start menu. 2. select options > programmer options > communications port setup from the mplab menu. select the com port that the pro mate ii is on. 3. if the pro mate ii menu item is not on the mplab menu, you must select the pro mate ii programmer. in the mplab desktop, select options > programmer options > select programmer . select pro mate device programmer and click ok . a message will prompt you to restart mplab in order for the change to take effect. click yes . mplab will shut down, and the pro mate menu will appear on the mplab menu when you restart mplab. 4. select options > development mode . select the mplab-sim or editor only development mode and select the device you are going to program. click ok . 5. if you are going to use the hex file from a project to program the device, open that project now ( project > open project .) 6. select pro mate > enable programmer from the mplab menu. the mplab ide will attempt to establish communications with the pro mate, and the pro mate device programmer and configuration bits dialogs will appear. 7. if you get a message stating that there is a newer pro mate operating system available, refer to section 7.12 for instructions on how to update your operating system. setting up the device programmer and configuration bits the pro mate device programmer dialog is open whenever the programmer is enabled. closing this dialog disables the programmer. 1. make sure the correct device is displayed. if the device you want to pro- gram is not listed, you must upgrade your pro mate ii operating sys- tem. see section 7.12. 2. if you want to identify the programming on a device (e.g., version con- trol), click device id and edit the device id or select unprotected check- sum. click ok . 3. if your application runs at the extreme voltage operating range, select the correct voltages. 4. set the configuration bits in the configuration bits dialog. if you set con- figuration bits in your source code, this dialog will be updated with those values when you rebuild your project. the values in this dialog will be programmed into the device you program. if the configuration bits dialog is not visible, click configuration bits in the pro mate device programmer dialog to reopen it.
? 2001 microchip technology inc. ds30082j-page 5 quick start loading a hex file if you are not using an mplab project, but have a hex file ready for programming into a device, select file > import > import to memory to load the hex code into the mplab program memory window. select window > program memory to view the contents of program memory. checking for a blank device insert the device to be programmed into the pro mate ii socket. click blank in the pro mate device programmer dialog to verify that the device is blank (all bits set to ? 1 ? ). if you are programming a one-time programmable (otp) device, use the configuration bits dialog to set the configuration bits to their factory settings. select pro mate > blank check otp to make sure that all program memory bits are set to ? 1 ? and that the configuration bits match the value in the configuration bits dialog. programming, verifying, and reading a device if you have followed the previous sections, you are ready to program a device. to program the entire device, click program in the pro mate device programmer dialog. to program selectively (part of program memory or configuration bits) select pro mate > program/verify . select the memory range and items to be programmed, and click program in the program/verify dialog. when programming has completed, ? success ? or ? failure ? will appear to the right of the start address. an error window displaying the expected and actual data will appear if programming failed. if the bad data shows 0000, try reseating the socket module and doing a blank check before trying to program the device again. note: if you are programming a windowed calibration device, be sure to store its calibration data as described in section 7.10 to ensure proper operation of the device.
pro mate ii user ? s guide ds30082j-page 6 ? 2001 microchip technology inc. using pro mate ii with procmd you can use pro mate ii on an ibm-80386 compatible pc without the mplab ide. the user interface is through dos or a dos shell from windows. starting procmd execute the file procmd.exe to start the pro mate ii command line interface. for example, use the command c:\promate\procmd.exe if you created a directory called promate . programming a device you can write the contents of a hex file directly to the device in the pro mate ii socket module from the dos prompt. you do not need to send the hex file every time a device is programmed. instead, you can use one command to transfer the hex file and set up any voltages, and then use subsequent command line executions to program. to program a device, make sure the programmer is set up and turned on. place the device in the socket module. then execute the following: procmd / /p /f /m where: is 1, 2, 3, or 4 to indicate the com port you are using is the name of the device is the name of the hex file /m is the command to program the part example: procmd /1 /p16c74a /f16c74a.hex /m will program a pic16c74a device with the contents of the file 16c74a.hex , using com1 to communicate with pro mate ii. only the addresses specified in 16c74a.hex are programmed. all values not specified in the hex file are set to blank (erased) values. to program the entire contents of the pro mate ii device programmer into the device, you do not need to specify a hex file.
? 2001 microchip technology inc. ds30082j-page 7 quick start using pro mate ii in stand-alone mode starting pro mate ii in stand-alone mode when you power-up the pro mate ii device programmer, the unit automatically detects the type of socket module installed and initializes the pro mate ii function buttons. the device programmer then displays the device options for the currently installed socket module. if you power-on the device programmer without a valid socket module installed, the unit displays the message ? socket not supported. ? after you select a device, the device programmer displays the command menu. the function buttons allow you to perform the basic tasks for programming a microcontroller device: program, verify, and read. main will return you to the main menu. setting up pro mate ii for stand-alone mode pro mate ii operating in stand-alone mode allows you to read, program, and verify a device without using a pc. stand-alone mode is useful in situations where a pc may not be required, such as in the field or in a lab production environment. however, you will need a pc to download the hex file into pro mate ii memory in order to set up the pro mate ii for stand-alone mode. to download a file to the pro mate ii, use the following command: procmd / /p /f where: = 1 , 2 , 3 or 4 , depending on the com port you are using is the name of the device is the name of the file (/f for hex, /s for sqtp) example: procmd /1 /p16c74a /f16c74a.hex /m will send the file 16c74a.hex , used to program pic16c74a devices, via com1 to the pro mate ii. the /m command is to program the device. now you are ready to use pro mate ii in stand-alone mode. caution: ensure the device programmer is powered off before changing a socket module.
pro mate ii user ? s guide ds30082j-page 8 ? 2001 microchip technology inc. programming the device with the programmer on, place the device to be programmed into the socket module and press on the pro mate ii. the device programmer programs the contents of its memory into the microcontroller device loaded in the socket module. after programming a device without errors, the device programmer performs a check to verify the data programmed into the device, and returns the results of the verification. for the installed device, the device programmer performs the verification at the v dd minimum and v dd maximum voltages. verifying the programming if you want to compare the contents of the programmer ? s internal memory to the contents of the programmed microcontroller device in the socket module, press . if the data and configuration bit settings are correct, verified will display on the lcd. the device programmer reports errors according to which part of the device failed. the verify function also confirms that erased parts are blank. if all programmable locations are blank for a device loaded in the socket module, the device programmer displays erased. copying a device ? s programming to copy the contents of a programmed device onto other devices, press to read the contents of the programmed device into the pro mate ii ? s memory. you can then replace the programmed device with an unprogrammed device and press to program it.
? 2001 microchip technology inc. ds30082j-page 9 pro mate ii user ? s guide 12 general information introduction this chapter contains general information that will be useful to know before using pro mate ii. highlights topics covered in this chapter:  about this guide  warranty registration  recommended reading  troubleshooting  the microchip internet web site  development systems customer notification service  customer support about this guide document layout this document describes how to use pro mate ii as a development tool to program firmware to a target device. the manual layout is as follows:  chapter 1: pro mate ii preview ? describes the pro mate ii and how it works.  chapter 2: installing and setting up pro mate ii ? describes how to install pro mate ii hardware and mplab software. explains how to set up the mplab ide and pro mate ii to work together and how to start pro mate ii from mplab.  chapter 3: programming examples ? contains several examples (tutorials) for programming calibration memory devices, memory devices, and other picmicro ? mcu devices.  chapter 4: using pro mate ii with mplab ? provides step-by-step instructions on using pro mate ii with the mplab ide to program, read, and verify devices.  chapter 5: using pro mate ii with procmd ? provides step-by- step instructions on using the pro mate ii command line interface to program, read, and verify devices.
pro mate ii user ? s guide ds30082j-page 10 ? 2001 microchip technology inc.  chapter 6: using pro mate ii in stand-alone mode ? provides step-by-step instructions on using the pro mate ii without a pc to program, read, and verify devices.  chapter 7: pro mate ii ? mplab reference ? describes pro mate ii dialogs and menu options.  chapter 8: procmd reference ? describes the commands available through the pro mate ii command line interface as well as error mes- sages.  chapter 9: pro mate ii stand-alone mode reference ? describes the operations you can perform using pro mate ii without a pc.  appendix a: connecting to a 25-pin serial port ? describes how to connect pro mate ii to a 25-pin serial port.  appendix b: socket module cleaning ? provides instructions on cleaning pro mate ii socket modules.  appendix c: troubleshooting ? provides information on solving com- mon problems.  index ? provides a cross-reference listing of terms, features, and sec- tions of this document.  worldwide sales and service ? lists microchip sales and service locations, and telephone numbers worldwide. conventions used in this guide this manual uses the following documentation conventions: table: documentation conventions description represents examples code (courier font): plain characters sample code filenames and paths #define start c:\autoexec.bat angle brackets: < > variables


▲Up To Search▲   

 
Price & Availability of DV007003

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X